home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / extcentry.z / extcentry
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. EEEEXXXXTTTTCCCCEEEENNNNTTTTRRRRYYYY((((1111))))                                                      EEEEXXXXTTTTCCCCEEEENNNNTTTTRRRRYYYY((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      extcentry - extract FORTRAN-callable entry points from a C file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeexxxxttttcccceeeennnnttttrrrryyyy infile outfile
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _E_x_t_c_e_n_t_r_y is used to extract C functions for which FORTRAN-callable
  16.      interface routines (_w_r_a_p_p_e_r_s) are to be generated by the program
  17.      _m_k_f_2_c(1).  _E_x_t_c_e_n_t_r_y accepts as input any C file (_i_n_f_i_l_e), and outputs
  18.      (to _o_u_t_f_i_l_e) only those portions which are surrounded by the special
  19.      comments /* _C_E_N_T_R_Y */ and /* _E_N_D_C_E_N_T_R_Y */.
  20.  
  21.      The first step in generating a FORTRAN-to-C interface routine is to
  22.      surround only those C functions for which entry points are to be
  23.      generated by these special comments and to run the file through
  24.      _e_x_t_c_e_n_t_r_y. The FORTRAN-to-C interface generator program _m_k_f_2_c can then be
  25.      invoked on the resultant file to generate the assembly language _w_r_a_p_p_e_r.
  26.      This is necessary since _m_k_f_2_c understands only a limited subset of the C
  27.      grammar, and cannot parse such constructs as external declarations,
  28.      typedefs, and C-preprocessor directives.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      mkf2c(1)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.